package org.apache.catalina.net;

import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;

/**
 * 2020/7/22 : 10:54
 */
public final class DefaultServerSocketFactory implements ServerSocketFactory {
    
    @Override
    public ServerSocket createSocket(int port, int backlog) throws IOException {
        return new ServerSocket(port,backlog);
    }

    @Override
    public ServerSocket createSocket(int port, int acceptCount, InetAddress ifAddress) throws IOException {
        return new ServerSocket(port,acceptCount,ifAddress);
    }
}
